package study.javaee.practice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

public class ProjectJoinApply implements Serializable {
    @ApiModelProperty(value = "项目id")
    private Integer projectId;

    @ApiModelProperty(value = "申请加入的科研人员id")
    private Integer userId;

    @ApiModelProperty(value = "申请理由、原因或者介绍")
    private String content;

    @ApiModelProperty(value = "0 未通过，1 通过，2 未处理")
    private Integer state;

    public void setState(Integer state) {
        this.state = state;
    }

    private static final long serialVersionUID = 1L;

    public Integer getProjectId() {
        return projectId;
    }

    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", projectId=").append(projectId);
        sb.append(", userId=").append(userId);
        sb.append(", content=").append(content);
        sb.append(", state=").append(state);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}